package com.example.repair_service.dto;


import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
@Tag(name="用户数据传输对象",description = "用户需要的数据格式")
public class UserDTO implements Serializable {

    @NotNull
    private String mobile;
    @NotNull
    private String password;
    @NotNull
    private String username;

    private String avatar;
}
